using System;
using System.Collections.Generic;

namespace Managistics.Model
{
    [Serializable()]
    public class City : Entity<string>
    {
        private Country _country;
        private string _cityname;
        public City() { }
        public virtual string Code
        {
            get
            {
                return this._id;
            }
            set
            {
                this._id = value;
            }
        }
        public virtual Country Country
        {
            get
            {
                return this._country;
            }
            set
            {
                this._country = value;
            }
        }
        public virtual string Name
        {
            get
            {
                return this._cityname;
            }
            set
            {
                this._cityname = value;
            }
        }
    }

}
